package cn.tansanqinger.service.operation;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.tansanqinger.dao.sql.operation.OperationSqlDaoImpl;
import cn.tansanqinger.pojo.AccountOperationMessage;
import cn.tansanqinger.util.PageData;
import cn.tansanqinger.util.Tools;
/**
 * 对账号信息操作的Service类
 * @author C3H2
 *
 */
@Service
public class OperationServiceImpl implements IOperationService{

	@Autowired
	private OperationSqlDaoImpl daoImpl;
	
	@Override
	public List<AccountOperationMessage> selectOperationMessageId(PageData pageData) {
		if(!"".equals(Tools.isEmpty(pageData.get("id")))) {
			return daoImpl.selectOperationMessageId(Integer.parseInt(Tools.isEmpty(pageData.get("id"))));
		}
		return null;
	}
}
